package top.zackyoung.jpa.entity;

import java.io.Serializable;

/**
 * @author: ZackYoung
 * @time: 2020/9/18
 */
public class Result implements Serializable {
    /**
     * 0为正常，1为异常
     */
    private int code=0;
    private int count=0;
    private Object data=null;
    private String msg="ok";

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
